/**
 * 
 */
package operrators;

/**
 * @author Administrator
 * 
 */
public class OperatorUtils
{
	public static double multilply(int[] args)
	{
		double total = 1;
		for (int i = 0; i < args.length; i++)
		{
			total *= args[i];
		}
		return total;
	}

	public static int sum(int[] args)
	{
		int total = 0;
		for (int i = 0; i < args.length; i++)
		{
			total += args[i];
		}
		return total;
	}
}
